<?php
$keywords = preg_split("/[\s,]+/",
 "php,regular expressions");
print_r( $keywords );
